package com.cool.modules.finance.service.family;

import com.cool.core.base.BaseService;
import com.cool.modules.finance.dto.UserFamilyListRequest;
import com.cool.modules.finance.dto.UserFamilyRequest;
import com.cool.modules.finance.dto.UserFamilyVo;
import com.cool.modules.finance.entity.family.FinanceFamilyEntity;

import java.util.List;

public interface FinanceFamilyService extends BaseService<FinanceFamilyEntity> {
    /**
     * 添加家庭信息
     * @param body
     * @return
     */
    Object addUserFamily(UserFamilyRequest body);

    /**
     *
     * @param body
     * @return
     */
    List<UserFamilyVo> listUserFamily(UserFamilyListRequest body);

    /**
     * 删除家庭信息
     * @param ids
     * @return
     */
    Object deleteUserFamily(Long[] ids);


}
